<f:layout name="Admin" />

This Template is responsible for creating a table of domain objects.


If you modify this template, do not forget to change the overwrite settings 
in /Configuration/Kickstarter/settings.yaml:
  Resources:
    Private: 
      Templates:
        List.html: keep

Otherwise your changes will be overwritten the next time you save the extension in the kickstarter

<f:section name="main">
<h1>Modul Liste</h1>

<f:flashMessages />

<table class="currtable"
				style="border-collapse: collapse; width: 100%; margin-bottom: 0.5em;">
				<tr class="trohead2">
		<th><f:translate key="tx_ifpcurriculum2_domain_model_modul.code" /></th>
		<th><f:translate key="tx_ifpcurriculum2_domain_model_modul.name" /></th>
		<th><f:translate key="tx_ifpcurriculum2_domain_model_modul.beschreibung" /></th>
		
		<th> </th>
		<th> </th>
	</tr>

	<f:for each="{moduls}" as="modul">
		<tr  class="trelemento">
			<td onclick="<ifp:CreateURI action='adminshow' arguments='{modul : modul}' />">{modul.code}</td>
			<td onclick="<ifp:CreateURI action='adminshow' arguments='{modul : modul}' />"><f:link.action action="adminshow" arguments="{modul : modul}"> {modul.name}</f:link.action></td>
			<td onclick="<ifp:CreateURI action='adminshow' arguments='{modul : modul}' />">{modul.beschreibung}</td>
			<td><f:link.action action="edit" arguments="{modul : modul}">Edit</f:link.action></td>
			<td><f:link.action action="delete" arguments="{modul : modul}">Delete</f:link.action></td>
		</tr>
	</f:for>
</table>

<f:link.action action="new">New Modul</f:link.action>
</f:section>